<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>



<table  id="" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
<tr><td class="t_bar">${param.title }${param.unit }</td></tr>
</table>
	<table  id="tblMileStones5" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
						<th class="TblHead" align="center"  style="width:5%">选择</th>
						<th class="TblHead" align="center"  style="width:5%">序号</th>
						<th class="TblHead" align="center"  style="width:25%">成果名称</th>
						<th class="TblHead" align="center"  style="width:35%">发表刊物名称及期号或会议名称及召开时间和地点或专利批准号及时间与授权单位（限500字）</th> 
						<th class="TblHead" align="center"  style="width:20%">影响<br/>因子</th> 
						<th class="TblHead" align="center"  style="width:10%">引用<br/>次数</th>					
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">
							<input type="radio" class="radiobutton" name="selMileStones5" >
						</td>
						<td align="center">
							<span name="milestones|milestone5[0]@seq_no" >[index]</span> 
						</td>
						
						<td align="center">
							<input name="milestones|milestone5[0]|content5" label="成果名称" value="" class=" input_text required"  maxlength="300" style="width:80%" />
						</td>
						
						
						<td><textarea name="milestones|milestone5[0]|content1" class="input_textarea  maxlength:500  required " label="发表刊物名称及期号或会议名称及召开时间和地点或专利批准号及时间与授权单位"   rows="5" style="width:96%"></textarea>
						<input type="hidden" name="milestones|milestone5[0]|content1_hidden" />
						</td>
						
						
						<td align="center">
							<input name="milestones|milestone5[0]|content2" label="影响因子" value="" class=" input_text  required "  onfocus="InitInput.setNumber(this,7,4,2)"  style="width:80%;text-align:right;" />
						</td>
						<td align="center">
							<input name="milestones|milestone5[0]|content3" label="引用次数" value="" class=" input_text   required"   onfocus="InitInput.setNumber(this,7,0,0)"   style="width:80%;text-align:right;" />
						</td>	
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/milestones/milestone5" var="milestone5">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td>
							<input type="radio" class="radiobutton" name="selMileStones5" >
						</td>
						<td align="center">
							<span   name="milestones/milestone5[${flag}${index}]@seq_no" ><x:out select="$milestone5/@seq_no"/></span> 
						</td>
						
						<td align="center">
							<input value="<x:out select="$milestone5/content5"/>" label="成果名称" name="milestones/milestone5[${flag}${index}]/content5" maxlength="300" class="  required"  style="width:80%"  /> 
						</td>
						
						
						<td>
							<textarea name="milestones/milestone5[${flag}${index}]/content1" class="input_textarea maxlength:500   required" label="发表刊物名称及期号或会议名称及召开时间和地点或专利批准号及时间与授权单位" rows="5" style="width:96%"><x:out select="$milestone5/content1"/></textarea>
							<input type="hidden" name="milestones/milestone5[${flag}${index}]/content1_hidden" id="milestones/milestone5[${flag}${index}]/content1_hidden" value="<x:out select="$milestone5/content1_hidden"/>"/>
						</td>
						<td align="center">
							<input value="<x:out select="$milestone5/content2"/>" label="影响因子" name="milestones/milestone5[${flag}${index}]/content2" onfocus="InitInput.setNumber(this,7,4,2)"  class="  required"  style="width:80%;text-align:right;"  /> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone5/content3"/>" label="引用次数" name="milestones/milestone5[${flag}${index}]/content3" onfocus="InitInput.setNumber(this,7,0,0)"  class="  required"  style="width:80%;text-align:right;"  /> 
						</td>

					</tr>
					
					
					
					
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMileStones5");
					</script>
				</tbody>
					</table>
					<br/>

					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones5',99,'${param.title }最多只能填写99条')){addNewRow('tblMileStones5');showDateTag('tblMileStones5');}try{top.resizeFrame();}catch(e){};">
					<!--
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones',5,'项目进度信息最多只能填写5条')){addNewRow('tblMileStones');}showDateTag('tblMileStones');try{top.resizeFrame();}catch(e){};">
                    -->
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones5','selMileStones5')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones5','selMileStones5')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones5','${param.title }')">
					</td></tr>
	</table>
	<br/>
<script type="text/javascript">
$(function() {
	$("#tblMileStones5 tr:even").addClass("li_1");
	$("#tblMileStones5 tr:odd").addClass("li_2");
});
</script>